/**
 * COPYRIGHT. Harry Wu 2011. ALL RIGHTS RESERVED.
 * Project: just-core
 * Authro: Harry Wu <harrywu304@gmail.com>
 * Created On: Apr 23, 2012 10:35:25 PM
 */
package org.justframework.api.exception;

/**
 *
 */
public class ConnectFailureException extends RuntimeException {

	/**
	 * 
	 */
	private static final long serialVersionUID = -3739379670576263534L;
	
	private String hostPort;
	
	public ConnectFailureException(String hostPort){
		this.hostPort = hostPort;
	}
	
	
	/**
	 * get host and port info
	 * @return <host>:<port>
	 */
	public String getHostPort(){
		return hostPort;
	}

}
